home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvitovdu / rmcs_upgrade / 00changes.txt < prev    next >
Text File  |  1990-10-01  |  5KB  |  124 lines

  1. The changes made to DVItoVDU (known at RMCS as version 3.3) are listed below: 
  2.  
  3.  
  4. 1. FONT FILES
  5. ~~~~~~~~~~~~~
  6. DVITOVDU will now attempt to load the font in PK format first, and if that is
  7. unsuccessful try the PXL format. Reversion to the dummy font and handling of
  8. Postscript fonts is unaffected. 
  9.  
  10. The two different font formats may be located in different areas, defined by
  11. the (new) command qualifiers 
  12.  
  13.     /PK_FONT_DIRECTORY=directory_specification
  14.     /PXL_FONT_DIRECTORY=directory_specification
  15.  
  16. The search strategy of the original DVITOVDU V3.0 is retained, i.e.   the
  17. following are all accepted: 
  18.  
  19.     /PK_FONT_DIRECTORY=DISK$USER3:[TEX.PK]        (CMR10.300PK etc)
  20.     /PK_FONT_DIRECTORY=DISK$USER3:[TEX.PK.]        ([300]CMR10.PK etc)
  21.     /PXL_FONT_DIRECTORY=DISK$USER3:[TEX.PXL]        (CMR10.1500PXL etc)
  22.     /PXL_FONT_DIRECTORY=DISK$USER3:[TEX.PXL.]       ([1500]CMR10.PXL etc)
  23.  
  24. In addition, the font directory qualifiers may be equated to a logical
  25. name, which may have multiple values (a ``search list'', in DEC's curious
  26. terminilogy).  Such logical names will be fully translated when the program
  27. is invoked, to determine whether font directory structures are flat or
  28. rooted; this only expands the first of any multiple equivalence names.  The
  29. untranslated logical will be used when the font files themselves are
  30. opened, which permits the use of parallel directory structures for
  31. canonical TeX fonts and proprietary ones, for example.  However, note that
  32. no check is mode to ensure that all logical names expand to the same format
  33. of directory structure: the program will blindly use whatever structure
  34. (and hence naming scheme) it determines from the translation of the first
  35. logical name equivalence string.
  36.  
  37. 2. DUMMY_FONT
  38. ~~~~~~~~~~~~~
  39. To fit in with the above, the /DUMMY_FONT qualifier specifies only the TeX
  40. font name (\magstep 0 assumed). This font must be present at \magstep 0 in
  41. either PK or PXL format. At RMCS, we use 
  42.  
  43.     /DUMMY_FONT=cmr10
  44.  
  45.  
  46.  
  47. 3. VDU Support
  48. ~~~~~~~~~~~~~~
  49. Support for the following VDUs has been added:
  50.  
  51.     /VDU=BBC       -   BBC model B microcomputer running Termulator
  52.     /VDU=SG480       -   VT100 with Selanar retro-graphics
  53.     /VDU=Tektronix -   Tektronix 40xx
  54.     /VDU=VTTEK       -   VT200/300 series in tektronix mode --- much
  55.                faster than ReGIS (what isn't ?)    
  56.  
  57. NOTE:    the modules providing support for /VDU=BBC and /VDU=Tektronix were
  58.     supplied by Phil Taylor <CHAA006@UK.AC.RHBNC.VAXA>.
  59.  
  60.  
  61.  
  62. 4. ORIGIN Specification
  63. ~~~~~~~~~~~~~~~~~~~~~~~
  64. The Stanford TeX project decreed that the reference origin of a TeX document
  65. should be 1 inch below and to the right of the top left hand corner of the 
  66. page.  This is not universally popular (especially in Egham), so 2 new 
  67. qualifiers have been introduced:
  68.  
  69.     /XORIGIN=dimension_value (default: 1in)
  70.     /YORIGIN=dimension_value (default: 1in)
  71.  
  72. NOTE:    these qualifiers were added at the suggestion of Phil Taylor 
  73.     <CHAA006@UK.AC.RHBNC.VAXA>.
  74.  
  75.  
  76.  
  77. 5. Code Changes
  78. ~~~~~~~~~~~~~~~
  79. Unfortunately, we have a different MODULA-2 Compiler (Logitech V4.1-0) which
  80. doesn't support edition 3 of Wirth's book, but does support the VAX/VMS V4
  81. runtime library. The changes made are: 
  82.   
  83.     1.  put back in all of the EXPORT QUALIFIED statements (if your compiler 
  84.     doesn't like them, comment them out but DON'T delete them).  
  85.  
  86.     2.    all occurrences of MAX(INTEGER) were replaced with a symbolic
  87.         constant with the value  2147483647. This and other constants are
  88.         defined in the new module  SystemConstants.DEF
  89.  
  90.     3.  change DCLINTERFACE to
  91.  
  92.     a. use SYS$TRNLNM rather than SYS$TRNLOG.
  93.     b. use the VMS V4 version of CLI$GET_VALUE.
  94.     c. use the MODULA runtime library function Parse (in FileSystem)
  95.        to parse the DVI file name.
  96.  
  97.     4.  change ScreenIO to use the VMS V4 version of SYS$ASSIGN. `channel'
  98.         changed from type CARDINAL to SHORTWORD.
  99.  
  100.     5.  modify the structure of RECORD fontinfo (defined in
  101.     DVIReader.DEF) to contain 3 new fields
  102.  
  103.     a.  the type of font (PK, PXL, Postscript, Unknown).
  104.     b.  the procedure used to get glyph bitmaps.
  105.     c.  the procedure to use to fill its pixel table.
  106.  
  107.  
  108.     6.  Make code changes to support the enhancements. The modules
  109.     materially affected are:
  110.  
  111.     a.                  DVItoVDU.MOD
  112.     b.  DCLInterface.DEF          DCLInterface.MOD
  113.     c.  DVIReader.DEF          DVIReader.MOD
  114.     d.                  FontReader.MOD
  115.     e.                  VDUInterface.MOD
  116.         f.                  ScreenIO.MOD
  117.     g.  SG480VDU.DEF          SG480VDU.MOD
  118.     h.  VTTekVDU.DEF          VTTekVDU.MOD
  119.  
  120.         Plus one new module called SystemConstants.DEF
  121.  
  122.     In addition, all of the other .DEF files are changed to EXPORT
  123.     the necessary items. 
  124.